package com.example.SpringBoot_demo.bean;

import java.sql.Timestamp;

/**
 * Creat by wsn on 2021/7/21 10:08
 */

public class Notice {
    private int noticeid;
    private String adminid;
    private  String adminname;
    private  String noticecontents;
    private Timestamp noticedate;

    public Notice(){

    }

    public Notice(int noticeid, String adminid, String adminname, String noticecontents, Timestamp noticedate){
        this.noticeid=noticeid;
        this.adminid=adminid;
        this.adminname=adminname;
        this.noticecontents=noticecontents;
        this.noticedate=noticedate;
    }

    public Timestamp getNoticedate() {
        return noticedate;
    }

    public void setNoticedate(Timestamp noticedate) {
        this.noticedate = noticedate;
    }

    public int getNoticeid() {
        return noticeid;
    }

    public void setNoticeid(int noticeid) {
        this.noticeid = noticeid;
    }

    public String getAdminid() {
        return adminid;
    }

    public void setAdminid(String adminid) {
        this.adminid = adminid;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    public String getNoticecontents() {
        return noticecontents;
    }

    public void setNoticecontents(String noticecontents) {
        this.noticecontents = noticecontents;
    }

    @Override
    public  String toString(){
        return "Notice{" +
                "noticeid='" + noticeid +'\'' +
                ",adminid='" + adminid + '\'' +
                ",adminname='" + adminid + '\'' +
                ",noticecontents='" + noticecontents + '\'' +
                ",noticedate='" + noticedate + '\''+
                '}';

    }

}
